/**
 * 获取uuid
 */
export function getUUID() {
    return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, c => {
        return (c === 'x' ? (Math.random() * 16) | 0 : <any>'r&0x3' | 0x8).toString(16)
    })
}
/**
 * toekn
 */
export function getToken() {
    return localStorage.getItem('TOKEN')
}
export function setTokens(str: string) {
    return localStorage.setItem('TOKEN', str)
}
export function removeTokens() {
    localStorage.removeItem('TOKEN')
    localStorage.removeItem('USERS')
}